package com.huitone.gddw.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletResponse;


import com.huitone.gddw.dao.entity.RedisItem;
import com.huitone.gddw.dao.entity.ReturnedValue;

import com.huitone.gddw.utils.MonitoringResult;

/**
 * redisService接口
 * @author lipengfei
 *
 */


public interface RedisItemService {
	MonitoringResult<Map<String,Object>> loadRedis(ReturnedValue value);
	MonitoringResult<RedisItem> save(ReturnedValue value);
//	MonitoringResult<Map<String, Object>>	updata(ReturnedValue returnedValue);
//	MonitoringResult<List<RedisItem>> select(ReturnedValue returnedValue);
	MonitoringResult<Map<String, Object>> addIndex();
	MonitoringResult<Map<String, Object>> showIndex(ReturnedValue value);
	
	MonitoringResult<List<Map<String,String>>> getAllInfo(ReturnedValue value);
	MonitoringResult<RedisItem> createExcel(HttpServletResponse response);
}
